package com.shuaigef.springbootinit.model.dto.req.post;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 帖子添加请求参数
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AddPostReqDTO {

    /**
     * 帖子标题
     */
    private String postTitle;

    /**
     * 图片
     */
    private List<MultipartFile> img;

    /**
     * 帖子内容
     */
    private String postMsg;

    /**
     * 帖子模块
     */
    private Integer postModel;
} 